//
//  SkToast.h
//  YOYOLive
//
//  Created by 王根强 on 2016/10/28.
//  Copyright © 2016年 王根强. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

#pragma mark - 调用Toast的类
@class Toast;
@interface YOToast : NSObject
+ (void)YOToastShow:(NSString *)title withHight:(CGFloat) hight;
+ (void)YOToastShow:(NSString *)title;

@end

#pragma mark - 这里是实现toast的类
@interface Toast :NSObject
@property (nonatomic, strong) UIView *bgView;
@property (nonatomic, strong) UILabel *labToast;
@property Boolean bShow;


/*默认的初始化toast
 *title 为需要显示的文字
 *hight 目前离最下位置的距离+hight
 */
- (void)initToastView:(NSString *)title withHight:(CGFloat) hight;

+ (instancetype)shared;

@end
